# If no configuration file is specified, Puma will look for a configuration file at config/puma.rb. If an environment is specified, either via the -e and --environment flags, or through the RACK_ENV or the RAILS_ENV environment variables, Puma first looks for configuration at config/puma/<environment_name>.rb, and then falls back to config/puma.rb.

# 一旦新建了 puma/environment.rb, 即使里面内容全部注释, config/puma.rb 给threads/worker定值也不会生效, 打印日志的操作也要放在 puma/environment.rb 中

threads 8, 32
workers 8

# https://logger.rocketjob.io/forking.html
on_worker_boot do
  # Re-open appenders after forking the process
  SemanticLogger.reopen
end
